package com.example.entity.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


/**
 * <p>
 * 
 * </p>
 *
 * @author xusen
 * @since 2025-04-28
 */
@TableName("db_topic")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Topic implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String title;
    private String content;
    /**
     * 发送人的id
     */
    private Integer uid;
    private Integer type;
    private Date time;


}
